
export default class ElemSelect {
  pre: HTMLElement | undefined
  select (curr: HTMLElement) {
    let { pre } = this
    pre && pre.classList.remove('selected')
    curr.classList.add('selected')
    this.pre = curr
  }
}
